package com.shengqiang.cloud.oauth2.model;

import com.google.common.collect.Lists;

import java.util.List;

/**
 * Created by Administrator on 2017/12/9.
 * 受保护的资源注册信息
 */
public class ProtectResource {

    /**
     * 资源唯一Id
     */
    private String resourceUid;

    /**
     * 约定的资源Id
     */
    private String resourceId;

    /**
     * 资源名称
     */
    private String resourceName;

    /**
     * 资源开放的权限了列表
     */
    List<ResourceScope> scopes= Lists.newArrayList();

    public String getResourceUid() {
        return resourceUid;
    }

    public void setResourceUid(String resourceUid) {
        this.resourceUid = resourceUid;
    }

    public String getResourceId() {
        return resourceId;
    }

    public void setResourceId(String resourceId) {
        this.resourceId = resourceId;
    }

    public String getResourceName() {
        return resourceName;
    }

    public void setResourceName(String resourceName) {
        this.resourceName = resourceName;
    }

    public List<ResourceScope> getScopes() {
        return scopes;
    }

    public void setScopes(List<ResourceScope> scopes) {
        this.scopes = scopes;
    }
}
